<?php

use Illuminate\Database\Seeder;
use App\Admin;
class AdminsTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {

        //添加3个挂历原用户，密码是123456;
        factory('App\Admin',3)->create([
            'password'=>bcrypt('123456')
        ]);

    }
}
